﻿namespace Golf.Core
{
    public class Player : BusinessObjectBase
    {
        public Player()
        {
        }

        public Player(int id) : this()
        {
            Id = id;
        }

        public string Forename { get; set; }
        public string Surname { get; set; }
        public Gender Gender { get; set; }
        public string Hometown { get; set; }
        public County County { get; set; }

        public override string ToString()
        {
            return string.Format("{0} {1}", Forename, Surname);
        }
    }
}